package com.example.nettydemo.util;

import com.example.nettydemo.dto.mock.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @author WZW
 * @date 2020/5/11
 */
public class MockData {

    public static final List<User> USER_LIST = new ArrayList<>();

    static {
        for (int i = 1; i <= 10; i++) {
            User user = User.builder().guid(String.valueOf(i)).username("user-" + i).balance(1000 + i * 10).build();
            USER_LIST.add(user);
        }
    }

}
